package com.jtny.nytb.config.dataalarm.dto;

import com.jtny.component.entity.BaseDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;


@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "数据报警点管理")
@Data
public class DataAlarmDTO extends BaseDTO implements Serializable {

    @ApiModelProperty("参量编号")
    private String code;

    @ApiModelProperty("参量id")
    private Long dataParamId;

    @ApiModelProperty("参量名称")
    private String name;

    @ApiModelProperty("参量来源：1-手动填报，2-系统计算，3-常量，4-手动填报")
    private Integer source;

    @ApiModelProperty("报警点名称")
    private String alarmName;

    @ApiModelProperty("报警分类")
    private String alarmType;

    @ApiModelProperty("报警条件")
    private String alarmCondition;

    @ApiModelProperty("报警内容")
    private String alarmDescribe;

    @ApiModelProperty("报警等级")
    private String alarmClass;

    @ApiModelProperty("参量别名")
    private String parameterName;
}
